package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.Contacts;
import cn.gson.boot.model.pojos.Kaipiao;
import cn.gson.boot.model.pojos.User;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface KaiPiaoMapper {
    //根据订单id找到此订单的所有开票记录
    public List<Kaipiao> selectKaiPiaoByddId(Integer ddId);

    //查开票员工
    public List<User> selectKaiPiaoEmp();

    //根据回款id查看开票记录
    public Kaipiao selectKaiPiaoByhkId(Integer hkId);
}
